package com.klw.business.mapper;

import java.util.List;
import com.klw.business.domain.KlwDepartment;

/**
 * 院系Mapper接口
 * 
 * @author klw
 * @date 2025-08-24
 */
public interface KlwDepartmentMapper 
{
    /**
     * 查询院系
     * 
     * @param departmentId 院系主键
     * @return 院系
     */
    public KlwDepartment selectKlwDepartmentByDepartmentId(Long departmentId);

    /**
     * 查询院系列表
     * 
     * @param klwDepartment 院系
     * @return 院系集合
     */
    public List<KlwDepartment> selectKlwDepartmentList(KlwDepartment klwDepartment);

    /**
     * 新增院系
     * 
     * @param klwDepartment 院系
     * @return 结果
     */
    public int insertKlwDepartment(KlwDepartment klwDepartment);

    /**
     * 修改院系
     * 
     * @param klwDepartment 院系
     * @return 结果
     */
    public int updateKlwDepartment(KlwDepartment klwDepartment);

    /**
     * 删除院系
     * 
     * @param departmentId 院系主键
     * @return 结果
     */
    public int deleteKlwDepartmentByDepartmentId(Long departmentId);

    /**
     * 批量删除院系
     * 
     * @param departmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteKlwDepartmentByDepartmentIds(Long[] departmentIds);
}
